$(function(){

	$(".roster_liste_player")
		.hover(
			function(){
				$(this).addClass('roster_liste_player_hover');
			},
			function(){
				$(this).removeClass('roster_liste_player_hover');
			}
		)
		.click(
			function(){
				window.open('roster/player?id='+$(this).attr('id'),'_self');
			}
		);
	
/*	
	if(navigator.javaEnabled()){
		$('#3dviewer-flash').hide();
	}else{*/
		$('#3dviewer-java').hide();
/*	}*/
	
	
	$('.roster_player_item1,.roster_player_item2,.roster_player_item3,.roster_player_item16,.roster_player_item5,.roster_player_item4,.roster_player_item19,.roster_player_item9').addClass('wowheaditem_tooltip_left');
});

function roster_player_toggleFlashJava(){
	$('#3dviewer-java').toggle();
	$('#3dviewer-flash').toggle();
}